[mirrors]
https://github.com/ocaml/ocaml/archive/4.02.2.tar.gz

[vars]
filesize=3314612
sha512=1ed697383cb4772167178f1781d22f237dc0aceec2dc3cd4ecc051252c2933631d2ccd51725ce108b78a15589f260ca7691feea291233f5f2ef4384e6b1fcd01
tardir=ocaml-4.02.2
tarball=ocaml-4.02.2.tar.gz

[build]
./configure -prefix "$butch_install_dir""$butch_prefix" -libdir "$butch_root""$butch_prefix"/lib/ocaml
make world.opt
sed -i "s@$butch_root$butch_prefix/lib/ocaml@$butch_install_dir$butch_prefix/lib/ocaml@" config/Makefile
make install
